//
//  Contact.h
//  OC04_集合(二)
//
//  Created by Hanlingyu on 16/7/7.
//  Copyright © 2016年 ltq. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Contact : NSObject

@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSString *sex;
@property (nonatomic, retain) NSString *phoneNumber;
@property (nonatomic, retain) NSString *address;
@property (nonatomic, retain) NSString *groupName;
@property (nonatomic, assign) NSUInteger age;

- (instancetype)initWithName: (NSString *)name
                         sex: (NSString *)sex
                 phoneNumber: (NSString *)phoneNumber
                     address: (NSString *)address
                   groupName: (NSString *)groupName
                         age: (NSUInteger)age;

+ (instancetype)contactWithName: (NSString *)name
                             sex: (NSString *)sex
                     phoneNumber: (NSString *)phoneNumber
                         address: (NSString *)address
                       groupName: (NSString *)groupName
                             age: (NSUInteger)age;

- (void)showContact;








@end
